package com.ruoyi.project.app.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 客服调度对象 dispatch
 * 
 * @author hry
 * @date 2020-10-15
 */
public class AppDispatch extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 客服名称 */
    @Excel(name = "客服名称")
    private String serviceName;

    /** 客服电话 */
    @Excel(name = "客服电话")
    private String phone;

    /** 调度类型（0班车调度，1接送调度，2拼车调度，3包车调度，4租车调度 5.咨询客服 6.退票客服） */
    @Excel(name = "调度类型", readConverterExp = "0=班车调度，1接送调度，2拼车调度，3包车调度，4租车调度,5=.咨询客服,6=.退票客服")
    private String dispatchType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setServiceName(String serviceName) 
    {
        this.serviceName = serviceName;
    }

    public String getServiceName() 
    {
        return serviceName;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setDispatchType(String dispatchType) 
    {
        this.dispatchType = dispatchType;
    }

    public String getDispatchType() 
    {
        return dispatchType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serviceName", getServiceName())
            .append("phone", getPhone())
            .append("dispatchType", getDispatchType())
            .append("createTime", getCreateTime())
            .toString();
    }
}
